Find The Relative Minima And Relative Maxima